//
//  AppDelegate.m
//  QWView
//
//  Created by 李奇伟 on 15/3/28.
//  Copyright (c) 2015年 李奇伟. All rights reserved.
//

#import "UILabel+Additional.h"

@implementation UILabel (Additional)

- (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text alignment:(NSTextAlignment)alignment
{
    self = [self initWithFrame:frame];
    if (self) {
        self.text = text;
        self.textAlignment = alignment;
    }
    return self;
}
- (instancetype)initWithFrame:(CGRect)frame alignment:(NSTextAlignment)alignment
{
    return [self initWithFrame:frame text:@"" alignment:alignment];
}

@end
